class basePoint{
  int x = 0, y = 0;
  void move(int dx, int dy) {
     x += dx; 
     y += dy;
  }
  int getX() { 
     return x;
  }
  int getY() { 
     return y; 
  }
}

